package com.guanglan.service;

import java.util.List;

import com.guanglan.domain.SysUserRole;

public interface SysUserRoleService {
	int deleteByPrimaryKey(Long id);

    int insert(SysUserRole record);

    int insertSelective(SysUserRole record);

    SysUserRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUserRole record);

    int updateByPrimaryKey(SysUserRole record);
    
    List<Long> selectByUserId(long userId);
    
    int deleteByUserId(long userId);
}
